﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DynamicExample
{
    class Program
    {
        static void Main(string[] args)
        {
            //object obj = "Привет";
            //Console.WriteLine(obj.GetType().GetMethod("CalculatePrice"));

            dynamic variable = 1;
            variable.CalculatePrice();

            Console.ReadKey();
        }
    }
}
